package com.cssw.fyzb.tps.service.im;

import com.cssw.fyzb.tps.service.im.common.ImHttpComm;

/**
 * @Author Jian Qin.
 */
public interface GroupService {
    ImHttpComm.ImResult createGroup(String owner_account, String groupId, String type, String name, String introduction, String notification, String faceUrl, Integer maxMemberCount);

    ImHttpComm.ImResult getGroupList(Integer limit, Integer next, String groupType);

    ImHttpComm.ImResult getGroupInfo(String[] groupIdLists);

    ImHttpComm.ImResult modifyGroup(String groupId, String name, String introduction, String notification, String faceUrl, Integer maxMemberCount, String shutUpAllMember);

    ImHttpComm.ImResult setGroupManager(String groupId, String member_account);

    ImHttpComm.ImResult cancelGroupManager(String groupId, String member_account);

    ImHttpComm.ImResult destroyGroup(String groupId);

    ImHttpComm.ImResult forbidSendMsg(String groupId, String[] members_accounts, Integer hutUpTime);

    ImHttpComm.ImResult getGroupShutted(String groupId);

    ImHttpComm.ImResult sendGroupSystemNotification(String groupId, String content);

    ImHttpComm.ImResult getGroupOnlineNum(String groupId);
}
